# encoding: UTF-8
$:.push File.expand_path("../lib", __FILE__)
require "radiant-flapper-extension/version"

Gem::Specification.new do |s|
  s.name        = "radiant-flapper-extension"
  s.version     = RadiantFlapperExtension::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["john muhl"]
  s.email       = ["git@johnmuhl.com"]
  s.homepage    = "https://github.com/johnmuhl/flapper"
  s.summary     = %q{Post Twitter updates from Radiant CMS}
  s.description = %q{Pushes new tweets as you publish pages from Radiant CMS}

  ignores = if File.exist?('.gitignore')
    File.read('.gitignore').split("\n").inject([]) {|a,p| a + Dir[p] }
  else
    []
  end
  s.files         = Dir['**/*'] - ignores
  s.test_files    = Dir['test/**/*','spec/**/*','features/**/*'] - ignores
  s.require_paths = ["lib"]

  s.post_install_message = %{
  Add this to your radiant project with:
    config.gem "radiant-flapper-extension", :version => "~> #{RadiantFlapperExtension::VERSION}"
  }

  s.add_runtime_dependency "googl",   "~> 0.5.0"
  s.add_runtime_dependency "twitter", "~> 1.5.0"
end
